package com.casems.service;

import com.casems.commons.dto.PermissionDTO;
import com.casems.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tch
 * @since 2023-05-19
 */
public interface PermissionService extends IService<Permission> {


    void setChildren(PermissionDTO top, List<PermissionDTO> permissionList);

    List<PermissionDTO> getAllPermission();
}
